package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.WarningReceiver;

/**
 * 预警接收人Mapper接口
 * 
 * @author ruoyi
 * @date 2021-06-20
 */
public interface WarningReceiverMapper 
{
    /**
     * 查询预警接收人
     * 
     * @param id 预警接收人ID
     * @return 预警接收人
     */
    public WarningReceiver selectWarningReceiverById(Long id);

    /**
     * 查询预警接收人列表
     * 
     * @param warningReceiver 预警接收人
     * @return 预警接收人集合
     */
    public List<WarningReceiver> selectWarningReceiverList(WarningReceiver warningReceiver);

    /**
     * 新增预警接收人
     * 
     * @param warningReceiver 预警接收人
     * @return 结果
     */
    public int insertWarningReceiver(WarningReceiver warningReceiver);

    /**
     * 修改预警接收人
     * 
     * @param warningReceiver 预警接收人
     * @return 结果
     */
    public int updateWarningReceiver(WarningReceiver warningReceiver);

    /**
     * 删除预警接收人
     * 
     * @param id 预警接收人ID
     * @return 结果
     */
    public int deleteWarningReceiverById(Long id);

    /**
     * 批量删除预警接收人
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWarningReceiverByIds(Long[] ids);
}
